package com.xinli.xinlifm.sql;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * created by javac on 16-10-15.
 * email:kylin_javac@outlook.com
 * desc:
 */

public class XinLiSqlHelper extends SQLiteOpenHelper {
    public static final String  DBNAME="xinli.db";
    public static final int VERSION=2;
    public XinLiSqlHelper(Context context) {
        super(context, DBNAME, null, VERSION);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL("create table cache(page text primary key,content text, time text);");
    }


    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
